package com.woniuxy.adminservice.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.admindao.model.Admin;
import com.woniuxy.adminmodel.dto.AdminDto;
import com.woniuxy.adminmodel.param.*;
import com.woniuxy.core.util.PageInfo;

/**
 * <p>
 * 管理员 服务类
 * </p>
 *
 * @author 冉杰
 * @since 2024-01-15
 */
public interface AdminService extends IService<Admin> {

    void add(AddAdminParam param);

    AdminDto login(AdminLoginParam param);

    void changeState(ChangeStateParam param);

    PageInfo<AdminDto> byPage(AdminByPageParam param);

    void changePass(ChangePassParam param);

    AdminDto byId(AdminByIdParam param);
}
